package com.liao.cloudstorage.service;

import com.liao.cloudstorage.entity.FileObj;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liao
 * @since 2019-04-29
 */
public interface IFileObjService extends IService<FileObj> {
    List<FileObj> getAllFile();
    boolean autoRemoveFile(int id);
    FileObj getFileObjByFileName(String fileName);
    FileObj getFileObjByBucketAndFileName(String bucketName,String fileName);


}
